[INFO] cloning repository https://github.com/creationix/casnet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/creationix/casnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcreationix%2Fcasnet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcreationix%2Fcasnet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 80684a012ff9ae5dafbbe1f231eadd2db7d8511a
[INFO] building creationix/casnet against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcreationix%2Fcasnet" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/creationix/casnet on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3/source/.cargo/config
[INFO] started tweaking git repo https://github.com/creationix/casnet
[INFO] finished tweaking git repo https://github.com/creationix/casnet
[INFO] tweaked toml for git repo https://github.com/creationix/casnet written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/creationix/casnet already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5eaf63dd363aed2986ade176e2500d0f7c3144ca414bb79ab7fa4315bb83872d
[INFO] running `Command { std: "docker" "start" "-a" "5eaf63dd363aed2986ade176e2500d0f7c3144ca414bb79ab7fa4315bb83872d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5eaf63dd363aed2986ade176e2500d0f7c3144ca414bb79ab7fa4315bb83872d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5eaf63dd363aed2986ade176e2500d0f7c3144ca414bb79ab7fa4315bb83872d", kill_on_drop: false }`
[INFO] [stdout] 5eaf63dd363aed2986ade176e2500d0f7c3144ca414bb79ab7fa4315bb83872d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd0c9607d5d7c994db83f9f89cb92a18df9089de0130cf06b37efe1086358a12
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cd0c9607d5d7c994db83f9f89cb92a18df9089de0130cf06b37efe1086358a12", kill_on_drop: false }`
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling time v0.1.39
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling casnet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `parcel` in this scope
[INFO] [stdout]   --> src/main.rs:35:67
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut channel = ChaCha20Poly1305::new(&shared, &nonce, &parcel);
[INFO] [stdout]    |                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope
[INFO] [stdout]   --> src/main.rs:66:40
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if let Some(time) = recent.get(nonce) {
[INFO] [stdout]    |                                        ^^^^^ help: you might have meant to use the available field: `self.nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope
[INFO] [stdout]   --> src/main.rs:67:25
[INFO] [stdout]    |
[INFO] [stdout] 67 |             if *time == timestamp {
[INFO] [stdout]    |                         ^^^^^^^^^ help: you might have meant to use the available field: `self.timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope
[INFO] [stdout]   --> src/main.rs:73:30
[INFO] [stdout]    |
[INFO] [stdout] 73 |         copy.copy_from_slice(nonce);
[INFO] [stdout]    |                              ^^^^^ help: you might have meant to use the available field: `self.nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope
[INFO] [stdout]   --> src/main.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         recent.insert(copy, timestamp);
[INFO] [stdout]    |                             ^^^^^^^^^ help: you might have meant to use the available field: `self.timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `address` in this scope
[INFO] [stdout]   --> src/main.rs:75:34
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if &receiver as &[u8] != address {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `receiver_secret` in this scope
[INFO] [stdout]   --> src/main.rs:79:22
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let shared = receiver_secret.exchange(&sender);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sender` in this scope
[INFO] [stdout]   --> src/main.rs:79:48
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let shared = receiver_secret.exchange(&sender);
[INFO] [stdout]    |                                                ^^^^^^ help: you might have meant to use the available field: `self.sender`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `nonce` in this scope
[INFO] [stdout]   --> src/main.rs:80:58
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut channel = ChaCha20Poly1305::new(&shared, nonce, header);
[INFO] [stdout]    |                                                          ^^^^^ help: you might have meant to use the available field: `self.nonce`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `header` in this scope
[INFO] [stdout]   --> src/main.rs:80:65
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut channel = ChaCha20Poly1305::new(&shared, nonce, header);
[INFO] [stdout]    |                                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payload` in this scope
[INFO] [stdout]   --> src/main.rs:81:34
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut output = vec![0; payload.len()];
[INFO] [stdout]    |                                  ^^^^^^^ help: you might have meant to use the available field: `self.payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payload` in this scope
[INFO] [stdout]   --> src/main.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |         if channel.decrypt(payload, &mut output, tag) {
[INFO] [stdout]    |                            ^^^^^^^ help: you might have meant to use the available field: `self.payload`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tag` in this scope
[INFO] [stdout]   --> src/main.rs:82:50
[INFO] [stdout]    |
[INFO] [stdout] 82 |         if channel.decrypt(payload, &mut output, tag) {
[INFO] [stdout]    |                                                  ^^^ help: you might have meant to use the available field: `self.tag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sender` in this scope
[INFO] [stdout]   --> src/main.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Some((sender, output))
[INFO] [stdout]    |                   ^^^^^^ help: you might have meant to use the available field: `self.sender`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hex::Hex`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use hex::Hex;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             sender,
[INFO] [stdout]    |             ^^^^^^ expected struct `PublicKey`, found `&PublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             receiver,
[INFO] [stdout]    |             ^^^^^^^^ expected struct `PublicKey`, found `&PublicKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             timestamp,
[INFO] [stdout]    |             ^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 47 |             timestamp: timestamp.try_into().unwrap(),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |     ) -> (PublicKey, Vec<u8>) {
[INFO] [stdout]    |          -------------------- expected `(PublicKey, Vec<u8>)` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 64 |             return None;
[INFO] [stdout]    |                    ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(PublicKey, Vec<u8>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |     ) -> (PublicKey, Vec<u8>) {
[INFO] [stdout]    |          -------------------- expected `(PublicKey, Vec<u8>)` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 83 |             Some((sender, output))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(PublicKey, Vec<u8>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |     ) -> (PublicKey, Vec<u8>) {
[INFO] [stdout]    |          -------------------- expected `(PublicKey, Vec<u8>)` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 86 |             None
[INFO] [stdout]    |             ^^^^ expected tuple, found enum `Option`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(PublicKey, Vec<u8>)`
[INFO] [stdout]                found enum `Option<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `&(&PublicKey, &SecretKey)` as `&[u8]`
[INFO] [stdout]   --> src/main.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         if &receiver as &[u8] != address {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Parcel` doesn't implement `Debug`
[INFO] [stdout]   --> src/main.rs:97:22
[INFO] [stdout]    |
[INFO] [stdout] 97 |     println!("{:?}", parcel);
[INFO] [stdout]    |                      ^^^^^^ `Parcel` cannot be formatted using `{:?}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `Parcel`
[INFO] [stdout]    = note: add `#[derive(Debug)]` or manually implement `Debug`
[INFO] [stdout]    = note: required by `std::fmt::Debug::fmt`
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `casnet`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "cd0c9607d5d7c994db83f9f89cb92a18df9089de0130cf06b37efe1086358a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd0c9607d5d7c994db83f9f89cb92a18df9089de0130cf06b37efe1086358a12", kill_on_drop: false }`
[INFO] [stdout] cd0c9607d5d7c994db83f9f89cb92a18df9089de0130cf06b37efe1086358a12
